package com.bicon.botu.mall.order.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 售后明细查询接口返回值封装
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AfterSalesDto {

    /**
     * ID
     */
    private String id;
    /**
     * 申请编号
     */
    private String applyNo;
    /**
     * 状态(1:已申请待处理, 2:商家已同意退货\退款，待买家发货或待退款, 3:买家已发货，待商家收货, 4:商家已收货待退款, 5:已退款, 6:商家拒绝退货\退款,)
     */
    private Integer status;
    /**
     * 订单ID
     */
    private String orderGoodsId;
    /**
     * 订单编号
     */
    private String orderGoodsNo;
    /**
     * 退款金额
     */
    private BigDecimal payBackAmount;
    /**
     * 退款原因
     */
    private String reason;
    /**
     * 退货说明
     */
    private String description;
    /**
     * 申请时间
     */
    private Date applyTime;
    /**
     * 是否收到货物
     */
    private Boolean goodsReceived;
    /**
     * 拒绝原因
     */
    private String rejectReason;
    /**
     * 退货商品明细
     */
    private List<AfterSalesDetailsDto> details;
}
